package seGobangClient.gaming;

import javax.vecmath.Point2i;
import seGobangClient.ISceneController;

public interface IPlayer {
    static int RESULT_WIN=1, RESULT_LOST=2, RESULT_DRAW=3, 
            RESULT_TIMEOUT=4, RESULT_OPP_TIMEOUT=9, 
            RESULT_FORBIDDEN=5,RESULT_OPP_FORBIDDEN=6,
            RESULT_SURRENDERED=7,RESULT_OPP_SURRENDERED=8,
            RESULT_NETWORKERR=10, RESULT_OPP_NETWORKERR=11;
    void gameResult(int iResult);
    String getPlayerName();
    int getTurns();
    int getLastRegrets();
    int getLastTime();
    void resetPlayer();
    byte getChessFlag();
    void setController(ISceneController Controller);
    void turnToMe();
    void turnOver(boolean isRegret);
    void putChess(Point2i pos);
    void regret();
    void surrender();
}